package draw.server;


import draw.controller.param.CreateActivityParam;
import draw.controller.param.CreatePrizeParam;
import draw.controller.param.DrawPrizesData;
import draw.controller.param.PageParam;
import draw.dao.dataObject.WinningRecordDO;
import draw.server.dto.ActivityListDto;
import draw.server.dto.GetUserListDto;
import draw.server.dto.PrizeDtoResponse;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivitiesServer {

    PrizeDtoResponse prizePrizeFindList(PageParam param);

    List<GetUserListDto> findUserList();

    Integer create(CreatePrizeParam createPrizeParam);

    Long createActivity(CreateActivityParam param);

    ActivityListDto findActivityList();

    List<WinningRecordDO> saveWinningInfo(DrawPrizesData prizeDto);


}
